From: Florian Müllner Date: Sat, 29 Jun 2019 13:22:44 +0000 (+0200) Subject: locatePointer: Use constant for GSettings key X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~845^2^2~106 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5f3bad9c94eadb624cf138ee2e0a954f6876e60c;p=gnome-shell.git locatePointer: Use constant for GSettings key The constant is defined, so use it. Spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606 --- diff --git a/js/ui/locatePointer.js b/js/ui/locatePointer.js index 317783a4e..bdbd200ba 100644 --- a/js/ui/locatePointer.js +++ b/js/ui/locatePointer.js @@ -15,7 +15,7 @@ var LocatePointer = class { } show() { - if (!this._settings.get_boolean("locate-pointer")) + if (!this._settings.get_boolean(LOCATE_POINTER_KEY)) return; let [x, y, mods] = global.get_pointer();